package aden.Generic;

import android.graphics.Bitmap;


public class GenActionUp extends GenAction
{
    private GenActionHier mParent;
    public GenActionUp(GenIconMenu inMenu,
            Bitmap       inIcon,
            GenActionHier inParent)
            {
        super(inMenu,inIcon);
        mParent = inParent;
            }

    public int GetType() {return Type_UP;}

    public void SetParent(GenActionHier inParent)
    {
        mParent = inParent;
    }
    
    public boolean Process()
    {
        if (mParent != null)
        {
            mMenu.SetHierAction(mParent);
        }
        return true;
    }
}
